package com.xebia.eshop.web.config;

import com.google.inject.servlet.ServletModule;
import com.sun.jersey.guice.spi.container.servlet.GuiceContainer;
import com.xebia.eshop.web.rest.HelloController;

public class GuiceRestModule extends ServletModule {
    @Override
    protected void configureServlets() {
    	bind(GuiceContainer.class);
    	bind(HelloController.class);
        serve("/rest/*").with(GuiceContainer.class);
    }
}
